package com.cb.dao;

import com.cb.pojo.AllOrderListRedis;
import com.cb.pojo.OrderList;
import com.cb.pojo.ScreeninFormation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface AlipayDao {
    double selectDiscount(String yyid);
    double selectamount(String username);
    List<Integer> selectgrade();
    int insertOrderList(OrderList orderList);
    int selectnumber(@Param("yyid") String yyid,@Param("id") int id);
    String selectList(int id);
    int updateList(int ccid,String list);
    int insertAllOrderListRedis(AllOrderListRedis allOrderListRedis);
    int updateAllOrderListRedis(AllOrderListRedis allOrderListRedis);
    ScreeninFormation selectscreeninFormation(String id);
}
